<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>统计</title>
    <link rel="stylesheet" href="__PUBLIC__/css/public.css">
    <script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.SuperSlide.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/d3.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
    <script src="http://code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script>
    <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
    <link rel="stylesheet" href="http//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
    <link rel="stylesheet" href="">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/bootstrap-responsive.css" />
    <link rel="stylesheet" href="__PUBLIC__css/public.css">
    <style type="text/css">
        body {
            margin: 10px;
        }
    </style>

    <script type="text/javascript">
        $(function() {

            $("#datepicker-start").datepicker({
                dateFormat: 'yy-mm-dd',
                showButtonPanel: true,
                monthNames: ['一月','二月','三月','四月','五月','六月',
                    '七月','八月','九月','十月','十一月','十二月']

            });
            $("#datepicker-start1").datepicker({
                dateFormat: 'yy-mm',
                showButtonPanel: false,
                monthNames: ['一月','二月','三月','四月','五月','六月',
                    '七月','八月','九月','十月','十一月','十二月'],



            });

        })


    </script>
</head>

<body>
日期：
<form action="{:U('cuccmember/privence_')}" method="post">
    <input type="text" id="datepicker-start" name="date" value="{$date}" />
    <input type="hidden" name="tag" value="0">
    <input type="submit" value="日统计" class="UIbutton" >
</form>

月份：
<form action="{:U('cuccmember/privence_')}" method="post">
    <input type="text" id="datepicker-start1" name="date" value="{$date}" />
    <input type="hidden" name="tag" value="1">
    <input type="submit" value="月统计" class="UIbutton" >
</form>
<br/>
总数: {$total}
<table class="table table-bordered table-hover definewidth m10">
    <thead>

    <tr>
        <th>省份</th>
        <th>数量</th>

    </tr>
    </thead>
    <tbody>
    <foreach name="data" item="vo">
        <tr>
            <td>{$vo.dcprivence}</td>
            <td>{$vo.count}</td>

        </tr>
    </foreach>
    </tbody>
</table>

</body>

</html>
